#ifndef CHECKBOX_H
#define CHECKBOX_H

#include <QCheckBox>
#include <QWidget>
#include <QMouseEvent>

#include <QPainter>
#include <QStylePainter>
#include <QStyleOptionButton>
#include <QPixmap>
#include <QStyle>

class CheckBox : public QCheckBox
{
    Q_OBJECT
public:
    CheckBox(QWidget* parent);
protected:
    void mousePressEvent(QMouseEvent* event)override;
    void paintEvent(QPaintEvent *event)override;
};

#endif // CHECKBOX_H
